﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.AutoMapper
{
    public class DayBookItemProfile : Profile
    {
        protected override void Configure()
        {
            Mapper.CreateMap<Daybooks.DaybookItem, MyCompanyName.AbpZeroTemplate.Daybooks.Dto.DayBookItemDto>().
                ForMember(dto => dto.ManHourDisplay, opt => opt.MapFrom(t => t.ManHour));
            //base.Configure();
        }
    }
}
